From: Niklas Laxström Date: Wed, 16 Jan 2013 09:45:36 +0000 (+0000) Subject: (bug 44010) FauxRequest leaks cookie data from primary request X-Git-Tag: 1.31.0-rc.0~21002^2~1 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=833f87a0375d5519b84818320b06d40a0d7eaeae;p=lhc%2Fweb%2Fwiklou.git (bug 44010) FauxRequest leaks cookie data from primary request Change-Id: I6baf972352fd69660c09a5d413ff55b81aa31305 --- diff --git a/includes/WebRequest.php b/includes/WebRequest.php index fc1cdb59aa..68d22a8a2d 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -1314,6 +1314,10 @@ class FauxRequest extends WebRequest { return $this->wasPosted; } + public function getCookie( $key, $prefix = null, $default = null ) { + return $default; + } + public function checkSessionCookie() { return false; }